# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-crashtest
_pyname=crashtest
pkgver=0.3.0
pkgrel=0
pkgdesc="Manage Python errors with ease"
url="https://github.com/sdispater/crashtest"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="https://files.pythonhosted.org/packages/source/c/crashtest/crashtest-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="59e4e0a0f1453a6de96e35a1bb89c63f90775f5b0e3aefa4aa9cb6e713cc5f7b7eacd5ed82203e2f91260c048984d95041172fee70f6d9f7544d679a97969667  crashtest-0.3.0.tar.gz"
